CVE-2026-25526
JinJava Bypass through ForTag leads to Arbitrary Java Execution
Description
JinJava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Prior to versions 2.7.6 and 2.8.3, JinJava is vulnerable to arbitrary Java execution via bypass through ForTag. This allows arbitrary Java class instantiation and file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3.
INFO
Published Date :
Feb. 4, 2026, 10:15 p.m.
Last Modified :
Feb. 20, 2026, 9 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | CRITICAL | [email protected] |
Solution
- Update JinJava to version 2.7.6 or later.
- Update JinJava to version 2.8.3 or later.
Public PoC/Exploit Available at Github
CVE-2026-25526 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-25526.
| URL | Resource |
|---|---|
| https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998 | Patch |
| https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441 | Patch |
| https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6 | Product Release Notes |
| https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3 | Product Release Notes |
| https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74 | Patch Vendor Advisory |
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-25526 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-25526
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
lab setup + exploits for CVE-2026-25526
cve java jinjava cve-2026-25526
Java
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-25526 vulnerability anywhere in the article.
-
Daily CyberSecurity
CVE-2026-25526: Critical Jinjava Flaw (CVSS 9.8) Permits Remote Code Execution
A massive hole has been found in the walls of Jinjava, the popular Java-based template engine used to power thousands of websites on the HubSpot CMS. Tracked as CVE-2026-25526, this critical vulnerabi ... Read more
The following table lists the changes that have been made to the
CVE-2026-25526 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Feb. 20, 2026
Action Type Old Value New Value Added CPE Configuration OR *cpe:2.3:a:hubspot:jinjava:*:*:*:*:*:*:*:* versions up to (excluding) 2.7.6 *cpe:2.3:a:hubspot:jinjava:*:*:*:*:*:*:*:* versions from (including) 2.8.0 up to (excluding) 2.8.3 Added Reference Type GitHub, Inc.: https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441 Types: Patch Added Reference Type GitHub, Inc.: https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6 Types: Product, Release Notes Added Reference Type GitHub, Inc.: https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3 Types: Product, Release Notes Added Reference Type GitHub, Inc.: https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74 Types: Patch, Vendor Advisory -
New CVE Received by [email protected]
Feb. 04, 2026
Action Type Old Value New Value Added Description JinJava is a Java-based template engine based on django template syntax, adapted to render jinja templates. Prior to versions 2.7.6 and 2.8.3, JinJava is vulnerable to arbitrary Java execution via bypass through ForTag. This allows arbitrary Java class instantiation and file access bypassing built-in sandbox restrictions. This issue has been patched in versions 2.7.6 and 2.8.3. Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Added CWE CWE-1336 Added Reference https://github.com/HubSpot/jinjava/commit/3d02e504d8bbb13bf3fe019e9ca7b51dfce7a998 Added Reference https://github.com/HubSpot/jinjava/commit/c7328dce6030ac718f88974196035edafef24441 Added Reference https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.7.6 Added Reference https://github.com/HubSpot/jinjava/releases/tag/jinjava-2.8.3 Added Reference https://github.com/HubSpot/jinjava/security/advisories/GHSA-gjx9-j8f8-7j74